package com.cherry.micro_seckill;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

@SpringBootApplication(scanBasePackages = "com.cherry",
        exclude = DataSourceAutoConfiguration.class) // 不连数据库
@EnableEurekaClient
public class MicroSeckillApplication {

    public static void main(String[] args) {
        SpringApplication.run(MicroSeckillApplication.class, args);
    }

}
